﻿using System;
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;

namespace HYRElectric.Dimension
{
	[Regeneration(RegenerationOption.Manual)]
	[Transaction(TransactionMode.Manual)]
	internal class CmdSwitchDim : CmdEquipmentDim
	{
		protected override Result YJKExcute(ExternalCommandData cmdData, ref string message, ElementSet elements)
		{
			this.m_eCategoryName = "照明开关";
			this.m_lstElecTagType.Add("开关标记");
			this.m_lstElecTagType.Add("灯具开关");
			this.m_dlgText = "设备标注-照明开关";
			this.m_prompt = "请选择需要标注的照明开关设备";
			return base.YJKExcute(cmdData, ref message, elements);
		}
	}
}
